package com.example.demo.base;

import java.util.List;

public class ExecResult {

    private int exitCode;
    private List<String> result;

    public ExecResult() {
    }

    public ExecResult(int exitCode, List<String> result) {
        this.exitCode = exitCode;
        this.result = result;
    }

    public int getExitCode() {
        return exitCode;
    }

    public void setExitCode(int exitCode) {
        this.exitCode = exitCode;
    }

    public List<String> getResult() {
        return result;
    }

    public void setResult(List<String> result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "ExecResult{" +
                "exitCode=" + exitCode +
                ", result=" + result +
                '}';
    }
}
